package com.k8.registry.config;

import com.k8.rpc.url.URL;

import java.util.List;

/**
 * @Author: k8
 * @CreateTime: 2025-03-31
 * @Version: 1.0
 */
public abstract class AbstractConfig {
    protected final URL systemConfigUrl;
    protected final List<URL> registryConfigUrls;

    public AbstractConfig(URL systemConfigUrl, List<URL> registryConfigUrls) {
        this.systemConfigUrl = systemConfigUrl;
        this.registryConfigUrls = registryConfigUrls;
    }

    /**
     *
     * @param registryConfig 用于后期备份所用，相当于将注册表配置缓存一份
     * @param systemConfigUrl 配置，如springboot统一配置或jvm参数
     * @param side
     * @return
     */

}
